package com.zboin.ucenter.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @author zhboom
 * @date 2025/8/4 23:10
 */
@TableName(schema = "user_center", value = "role")
public class Role implements Serializable {

    @TableId
    private Integer roleId;
    @TableField(value = "role_name")
    private String roleName;
    @TableField(value = "group_id")
    private Integer groupId;
    @TableField(value = "description")
    private String description;
    @TableLogic(value = "1", delval = "0")
    private Integer isValid;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}
